<?php
/**
 * Photo
 *
 * Обработка данных по фотографиям альбомов
 *
 * @author Дмитрий Кузьма <kouzma.d@gmail.com>
 * @version 1.0
 */
class Photo extends ActiveRecord  {
	protected $tableName = 'photo';
	public $pkName = 'ID_photo';
	
	public $arrImageSizes = array(
	  array(
	    'width' => 60,
	    'height' => 60,
	    'alias' => 'small'
	  ),
	  array(
	    'width' => 200,
	    'height' => 200,
	    'alias' => 'medium'
	  ),
	  array(
	    'width' => 700,
	    'height' => 700,
	    'alias' => 'big'
	  ),
	  array(
	    'width' => 900,
	    'height' => 750,
	    'alias' => 'very_big'
	  )
	);
}
?>